From 70b0bdd5e362725954d1a19bab027edaacbd9cdd Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 3 Aug 2020 16:53:44 -0400 Subject: [PATCH] docs: Tell pandoc we need Docbook4 gtk-doc assumes Docbook4, with and so on. Without this, all the links in markdown are converted to and then lost in the docbook->html conversion. --- docs/reference/gtk/gtk-markdown-to-docbook | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/gtk/gtk-markdown-to-docbook b/docs/reference/gtk/gtk-markdown-to-docbook index a278b8b583..d25e6d52ea 100755 --- a/docs/reference/gtk/gtk-markdown-to-docbook +++ b/docs/reference/gtk/gtk-markdown-to-docbook @@ -180,7 +180,7 @@ def ConvertToDocbook(infile, outfile): else: division='chapter' input_format = "markdown" + "".join(MarkdownExtensions) - output_format = "docbook" + output_format = "docbook4" subprocess.check_call(["pandoc", infile, "-o", outfile, "--from=" + input_format, "--to=" + output_format, -- 2.30.2